import { defineUniPages } from "@uni-helper/vite-plugin-uni-pages";
import { tabBar } from "./src/layouts/fg-tabbar/tabbarList";

export default defineUniPages({
	globalStyle: {
		navigationStyle: "default",
		navigationBarTitleText: "工具",
		navigationBarBackgroundColor: "#f8f8f8",
		navigationBarTextStyle: "black",
		backgroundColor: "#FFFFFF",
		// #ifndef MP-TOUTIAO
		"navigationStyle": "custom"
		// #endif
	},
	easycom: {
		autoscan: true,
		custom: {
			"^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
			"^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
			"^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
		}
	},
	// tabbar 的配置统一在 “./src/layouts/fg-tabbar/tabbarList.ts” 文件中
	tabBar: tabBar as any
});
